Skip to content

SOLR-18217: Add SemVer field that wraps a long field#4377

Open
HoustonPutman wants to merge 5 commits intoapache:mainfrom
HoustonPutman:SOLR-18217-semver-field
Open

SOLR-18217: Add SemVer field that wraps a long field#4377
HoustonPutman wants to merge 5 commits intoapache:mainfrom
HoustonPutman:SOLR-18217-semver-field

Conversation

@HoustonPutman
Copy link
Copy Markdown
Contributor

@HoustonPutman HoustonPutman commented Apr 30, 2026

https://issues.apache.org/jira/browse/SOLR-18217

This is a new fieldType that accepts a maximum 6-part version string, which is internally converted to a long. Each version part has a maximum value of 999. So the range is 0.0.0.0.0.0 - 999.999.999.999.999.999. This ensures that our maximum long conversion is roughly 2^60, so it should always fit.

AI Disclosure: Claude helped write this.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:schema cat:search documentation Improvements or additions to documentation tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant